<template>
	<div class="detail-title">
		<div class="line"></div>
		<div class="detail-text"><slot></slot></div>
		<div class="line"></div>
	</div>
</template>

<script>
	export default{
		
	}
</script>

<style lang="stylus" scoped="scoped">
	.detail-title {
		display: flex;
		width:80%;
		margin: 28px auto 24px;		
	}
	.line {
		flex: 1;
		position: relative;
		top: -6px;
		border-bottom: 1px solid rgba(255,255,255,0.2);
	}
	.detail-text {
		font-size: 12px;
		color: #fff;
		font-weight: 700;
		padding: 0px 12px;
	}
</style>
